﻿using UnityEngine;

public interface IBoardDisplay
{
    void PreInit(int width, int height, GameManager gameManager);

	float positionX{ get; set;}
	float positionY{ get; set;}
	float width{ get; set;}
	float height{ get; set;}

    Rect GetRect();
    int GetRowsCount();
    // Check whether an object's able to perform an action at the moment
    bool isReady { get; }
    bool isMainQueueEmpty { get; }

    Vector3 GetPosition(int x, int y);
    Rect GetSize(int x, int y);

	// Sign up for events
	void Bind(Board board);

    // Event-type functions
    void SetSelection(bool selected, int x = 0, int y = 0);
}